package ase.assignment.sts.utils;

import java.util.Properties;

import ase.assignment.sts.api.CommonHandler;

public class STSConstants {
	public static final Properties properties = CommonHandler.getProperties();
	public static final String DB_URL = properties.getProperty("db_url");
	public static final String DB_DRIVER = properties.getProperty("db_driver");
	public static final String DB_USERNAME = properties
			.getProperty("db_username");
	public static final String DB_PASSWORD = properties
			.getProperty("db_password");
	public static final String DB_SQL_FILE = properties
			.getProperty("db_sql_file");
	public static final String DERBY_PATH = properties
			.getProperty("db_derby_home");

	public static final String WS_URL = properties.getProperty("ws_url");

	public static final String SESSION_USER = "user";

	// RMI Constants
	public static final String RMI_NAME_CUSTOMER = "rmi_customer";
	public static final String RMI_NAME_PORTFOLIO = "rmi_portfolio";
	public static final String RMI_NAME_STOCK = "rmi_stock";
}
